<?php
$form = new SpForm;
$form->text( 'name', 'your name', 'initial value', 'id-name' );
$form->text( 'email', 'your e-mailaddress', 'value', 'mail' );
$form->submit( 'submit', null, 'submit these values', 'submit', array( 'onclick' => 'submit( );' ) );
echo $form->render( );